package com.axjy.dao;

import com.axjy.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by zjn on 2018/2/3.
 */
public interface UserMapper {

    public List<User> list();

    public User check(@Param("name") String name, @Param("password") String password);

    public void update(@Param("roleId") Integer roleId,@Param("id") Integer id);
}
